load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "ssh",
    srcs = [
        "buffer.go",
        "certs.go",
        "channel.go",
        "cipher.go",
        "client.go",
        "client_auth.go",
        "common.go",
        "connection.go",
        "doc.go",
        "handshake.go",
        "kex.go",
        "keys.go",
        "mac.go",
        "messages.go",
        "mux.go",
        "server.go",
        "session.go",
        "ssh_gss.go",
        "streamlocal.go",
        "tcpip.go",
        "transport.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/golang.org/x/crypto/ssh",
    importpath = "golang.org/x/crypto/ssh",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/golang.org/x/crypto/chacha20",
        "//vendor/golang.org/x/crypto/curve25519",
        "//vendor/golang.org/x/crypto/ed25519",
        "//vendor/golang.org/x/crypto/poly1305",
        "//vendor/golang.org/x/crypto/ssh/internal/bcrypt_pbkdf",
    ],
)
